package com.ruoyi.order.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.employee.domain.EmployeeUser;
import com.ruoyi.customer.domain.CustomerUser;
import com.ruoyi.market.domain.ConfigBase;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 订单评价对象 order_comment
 * 
 * @author ruoyi
 */
public class OrderComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评论ID */
    private long commentId;

    /** 订单编号 */
    private String orderNo;

    /** 客员ID */
    private Long customerUserId;

    /** 店员ID */
    private Long employeeUserId;

    /** 商品ID */
    private Long goodsId;

    /** 应用ID */
    private String appId;

    /** 店铺ID */
    private String shopId;

    /** 评论内容 */
    private String commentContent;

    /** 用户头像 */
    private String customerUserAvatar;

    /** 评分分数 */
    private Double commentRate;

    /** 订单状态（订单状态 wait_service-待服务 in_service-服务中 finish_service-服务完成 cancel_service-取消订单） */
    private String status;

    /** 是否匿名（Y=是,N=否, 未知） */
    private String isAnonymous;

    private EmployeeUser employeeUser;

    private CustomerUser customerUser;

    /** 所属店铺信息   */
    private ConfigBase shopInfo;

    public OrderComment()
    {

    }

    public OrderComment(int commentId)
    {
        this.commentId = commentId;
    }


    public Long getCommentId(){ return commentId; }

    public void setCommentId(Long commentId){ this.commentId = commentId; }

    public String getOrderNo(){ return orderNo; }

    public void setOrderNo(String orderNo){ this.orderNo = orderNo; }

    public Long getCustomerUserId(){ return customerUserId; }

    public void setCustomerUserId(Long customerUserId){ this.customerUserId = customerUserId; }

    public Long getGoodsId()
    {
        return goodsId;
    }

    public void setGoodsId(Long goodsId)
    {
        this.goodsId = goodsId;
    }

    public String getAppId()
    {
        return appId;
    }

    public void setAppId(String appId)
    {
        this.appId = appId;
    }

    public String getShopId(){ return shopId; }

    public void setShopId(String shopId){ this.shopId = shopId; }

    public Long getEmployeeUserId()
    {
        return employeeUserId;
    }

    public void setEmployeeUserId(Long employeeUserId)
    {
        this.employeeUserId = employeeUserId;
    }

    public String getCustomerUserAvatar()
    {
        return customerUserAvatar;
    }

    public void setCustomerUserAvatar(String customerUserAvatar)
    {
        this.customerUserAvatar = customerUserAvatar;
    }

    public String getCommentContent()
    {
        return commentContent;
    }

    public void setCommentContent(String commentContent)
    {
        this.commentContent = commentContent;
    }

    public Double getCommentRate()
    {
        return commentRate;
    }

    public void setCommentRate(Double commentRate)
    {
        this.commentRate = commentRate;
    }

    public String getIsAnonymous()
    {
        return isAnonymous;
    }

    public void setIsAnonymous(String isAnonymous)
    {
        this.isAnonymous = isAnonymous;
    }

    public String getStatus()
    {
        return status;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public EmployeeUser getEmployeeUser() { return employeeUser; }

    public void setEmployeeUser(EmployeeUser employeeUser)
    {
        this.employeeUser = employeeUser;
    }

    public CustomerUser getCustomerUser() { return customerUser; }

    public void setCustomerUser(CustomerUser customerUser)
    {
        this.customerUser = customerUser;
    }

    public ConfigBase getShopInfo()
    {
        return shopInfo;
    }

    public void setShopInfo(ConfigBase shopInfo)
    {
        this.shopInfo = shopInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("commentId", getCommentId())
            .append("orderNo", getOrderNo())
            .append("customerUserId", getCustomerUserId())
            .append("employeeUserId", getEmployeeUserId())
            .append("goodsId", getGoodsId())
            .append("appId", getAppId())
            .append("shopId", getShopId())
            .append("customerUserAvatar", getCustomerUserAvatar())
            .append("commentContent", getCommentContent())
            .append("commentRate", getCommentRate())
            .append("status", getStatus())
            .append("isAnonymous", getIsAnonymous())
            .append("shopInfo", getShopInfo())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("employeeUser", getEmployeeUser())
            .append("customerUser", getCustomerUser())
            .toString();
    }
}
